package com.casic.ops.entity.domain.pipeline;


import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.ToStringSerializer;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.util.Date;

/**
 * 流水线执行记录实体类
 * @author cww
 * @date 2022/6/17
 */
@Data
@TableName("pipeline_logger")
public class PipelineLoggerDO {
    /**
     * id
     */
    @TableId(value = "id",type= IdType.AUTO)
    @JSONField(serializeUsing = ToStringSerializer.class)
    private Long id;

    /**
     * uuid
     */
    @TableField("uuid")
    @JSONField(serializeUsing = ToStringSerializer.class)
    private long uuid;

    /**
     * pipeline_uuid
     */
    @TableField("pipeline_uuid")
    private long pipelineUuid;

    /**
     * content
     */
    @TableField(value = "content",updateStrategy = FieldStrategy.IGNORED)
    private String content;

    /**
     * gmt_create
     */
    @TableField(value = "gmt_create",updateStrategy = FieldStrategy.IGNORED)
    private Date gmtCreate;

    /**
     *gmt_modified
     */
    @TableField(value = "gmt_modified",updateStrategy = FieldStrategy.IGNORED)
    private Date gmtModified;

    /**
     * execute_start_tmie
     */
    @TableField(value = "execute_start_time",updateStrategy = FieldStrategy.IGNORED)
    private Date executeStartTime;

    /**
     * execute_end_time
     */
    @TableField(value = "execute_end_time",updateStrategy = FieldStrategy.IGNORED)
    private Date executeEndTime;

    /**
     * final_status
     */
    @TableField(value = "final_status",updateStrategy = FieldStrategy.IGNORED)
    private String finalStatus;

    /**
     * creator
     */
    @TableField(value = "creator",updateStrategy = FieldStrategy.IGNORED)
    private String creator;

    /**
     * modifier
     */
    @TableField(value = "modifier",updateStrategy = FieldStrategy.IGNORED)
    private String modifier;

    /**
     * deleted
     */
    @TableField(value = "deleted")
    private String deleted;

    /**
     * graph_content
     */
    @TableField(value = "graph_content",updateStrategy = FieldStrategy.IGNORED)
    private String graphContent;

    /**
     * trigger_way
     */
    @TableField(value = "trigger_way",updateStrategy = FieldStrategy.IGNORED)
    private String triggerWay;

}
